/*  File Name	: SockConnector.h
 *  Author		: Pang Jiacai
 *	 E-mail		: 823960168@qq.com
 *  Created on	: 2012-6-25
 *  Description:
 */

#ifndef SOCKCONNECTOR_H_
#define SOCKCONNECTOR_H_
#include "SockStream.h"
#include "TimeValue.h"

class SockConnector:virtual public Sock
{
public:
	SockConnector();

	virtual ~SockConnector();

	virtual int connect(SockStream *peer,std::string ip,int port,TimeValue &timeout,
			int pro_family=AF_INET,int type=SOCK_STREAM,int protocol=0,bool reuseaddr=true);
private:

};

#endif /* SOCKCONNECTOR_H_ */
